home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_10_06
/
1006074b
< prev
next >
Wrap
Text File
|
1992-04-19
|
387b
|
21 lines
#include "makedef.h"
main(int argc, char *argv[])
{
long status;
TARGET *adjacency_list;
char target[ DEP_LEN ] = {0};
if (adjacency_list = parse_makefile(argc, argv, target)) {
status = process_dependency(adjacency_list, target);
exit(status);
} else
fatal_error("No dependencies in makefile.");
}
long fatal_error(char *s)
{
printf("\nFatal error: %s",s);
exit(FAIL);
}